<html>
    <head>
        <title>Lorenzo Sfarra :: terminal</title>
        <link rel="stylesheet" href="/media/css/terminal.css"/>
        <script type="text/javascript" 
                src="http://www.google.com/jsapi"></script>
        <script type="text/javascript">
          // You may specify partial version numbers, such as "1" or "1.3",
          //  with the same result. Doing so will automatically load the 
          //  latest version matching that partial revision pattern 
          //  (e.g. 1.3 would load 1.3.2 today and 1 would load 1.4.2).
          google.load("jquery", "1.4.2");


        </script>

        <script src="/media/js/terminal.js" type="text/javascript">/* Terminal */</script>

        <script type="text/javascript">
          google.setOnLoadCallback(function() {
            /* Handle the enter keycode */
            $("#commandline").keypress(function(event) {
                if (event.keyCode == '13') {
                    event.preventDefault();
                    onEnterKey();
                }
            });
          });
        </script>
    </head>

    <body>
        <div id="terminal">
            <div id="terminaltop"><img src="/media/css/imgs/buttons.png" alt="buttons" align="left"/> <br/>Javascript Terminal</div>

<!-- Command line -->
            <textarea id="commandline" cols="80" rows="15">lorenzo@josie:~$ </textarea>
<!-- End command line -->
        </div>
    </body>
</html>
